package fmu.pi.model.connector.connections;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

import fmu.pi.model.connector.Conexao;

/**
 * @author valdir.c.junior
 *
 */
public class ConexaoHsql implements Conexao {

    private static final String URL = "jdbc:hsqldb:file:C:\\projects\\wrokspaces\\SNL\\SoNoLucro\\db\\sonolucro";
    private static final String USER ="SA"; 
    private static final String PASSWORD = "snlusr"; 

	@Override
	public Connection openConnection() throws SQLException {
		return DriverManager.getConnection(URL, USER, PASSWORD);
	}

}
